<template>

</template>

<script setup>
import {inject, onMounted} from "vue";

const $http = inject("$axios")
async function getAccessToken() {
  const data = {
    "accountId": "1ca7f0ab24ba41b291346347ec30140e"
  }
  $http.post("http://42.193.14.241:7000/ysapi/subAccount/getToken",data).then((response) => {
    console.log(response.data);
  })
}
onMounted(()=>{
  getAccessToken()
})
</script>

<style scoped>

</style>